package cn.minis;

import cn.minis.beans.factory.annotation.Autowired;

public class AServiceImpl implements AService {
  
  
  @Autowired
  private BaseService baseService;
  
  private int level;
  
  private String property1;
  
  public BaseService getBaseService() {
    return baseService;
  }
  
  public void setBaseService(BaseService baseService) {
    this.baseService = baseService;
  }
  
  public int getLevel() {
    return level;
  }
  
  public void setLevel(int level) {
    this.level = level;
  }
  
  public String getProperty1() {
    return property1;
  }
  
  public void setProperty1(String property1) {
    this.property1 = property1;
  }
  
  @Override
  public void sayHello() {
    System.out.println(property1);
  }
}
